package com.xs.xsaishuaan.model.dto.question;

import com.xs.xsaishuaan.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 查询题目请求
 *
 * @author lambor
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QuestionQueryRequest extends PageRequest implements Serializable {

    /** id **/
    private Long id;

    /** notId **/
    private Long notId;

    /** 搜索词 **/
    private String searchText;

    /** 标题 **/
    private String title;

    /** 内容 **/
    private String content;

    /** 标签列表 **/
    private List<String> tags;

    /** 推荐答案 **/
    private String answer;

    /** 题库 id **/
    private Long questionBankId;

    /** 创建用户 id **/
    private Long userId;

    private static final long serialVersionUID = 1L;
}